package com.beifu.manager.service.role.impl;

import com.beifu.manager.dao.UserRoleRelationMapper;
import com.beifu.manager.model.UserRoleRelation;
import com.beifu.manager.model.UserRoleRelationExample;
import com.beifu.manager.service.role.RoleService;
import com.beifu.manager.service.role.UserRoleRelationService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * Created by 再壮 on 2018/6/17.
 */
public class UserRoleRelationServiceImpl implements UserRoleRelationService{

    @Autowired
    private UserRoleRelationMapper userRoleRelationMapper;
    @Override
    public List<UserRoleRelation> getRoleRelationList(UserRoleRelationExample example) {
        return userRoleRelationMapper.selectByExample(example);
    }
}
